require.config({
    //配置总路径
    baseUrl: "/scripts",

    paths: {
        // 其他模块会依赖他
        'angular': 'lib/angular/angular.min',
        'angular-route': 'lib/angular-route/angular-route.min',
        'ui.route': 'lib/angular-plugins/angular-ui-router/angular-ui-router.min',
        'angularAMD': 'lib/angular-plugins/angularAMD',
        'loader': 'loader',
        'jquery': 'jquery-3.2.1.min',
        'bootstrap': 'bootstrap.min',
        'notify': 'bootstrap-notify.min',
        'angular-cookies': 'lib/angular-plugins/angular-cookies/angular-cookies.min',
        'angular-loading-bar': 'lib/angular-plugins/angular-loading-bar/loading-bar.min',
        'blockUI': 'lib/angular-plugins/angular-block-ui/angular-block-ui.min',
        'ngload': 'lib/angular-plugins/ngload',
        'ui-bootstrap': 'lib/angular-plugins/angular-ui-bootstrap/ui-bootstrap-tpls-1.3.2.min',
        'ng-Storage': 'lib/angular-plugins/ngStorage/ngStorage.min',
        'angular-sanitize': 'lib/angular-plugins/angular-sanitize/angular-sanitize.min',
        'w5c.validator': 'lib/angular-w5c-validator/w5cValidator.min',
        'angular-city-select': 'service/angular-city-select',
        'ui.file.manage': 'service/file-manage-service',
        'ui.select': 'lib/angular-plugins/angular-ui-select/select.min',
        'ui.sortable': 'lib/angular-plugins/ui-sortable/sortable.min',
        'jquery-ui': 'lib/jquery-ui/jquery-ui',
        'moment': 'lib/datetimepicker/moment.min',
        'bootstrap-datetimepicker-zh': 'lib/bootstrap-datetimepicker/bootstrap-datetimepicker.zh-CN',
        'bootstrap-datetimepicker': 'lib/bootstrap-datetimepicker/bootstrap-datetimepicker',
        'ng-file-upload': 'lib/angular-plugins/ng-file-upload/ng-file-upload-all.min',
        'kindeditor.all': 'lib/angular-plugins/angular-kindeditor/kindeditor/kindeditor-all-min',
        'angular-kindeditor': 'lib/angular-plugins/angular-kindeditor/angular-kindeditor',
        'ZeroClipboard': 'lib/zeroclipboard/ZeroClipboard.min',
        'ng-clip': 'lib/angular-plugins/ng-clip/ng-clip.min',
        'bootstrap-colorpicker': 'lib/colorpicker/bootstrap-colorpicker'
    },

    shim: {
        // 表明该模块依赖angular
        'angular': ['jquery'],
        'angularAMD': ['angular'],
        'angular-route': ['angular'],
        'ui.route': ['angular'],
        'bootstrap': ['jquery'],
        'notify': ['bootstrap'],
        'angular-loading-bar': ['angular'],
        'angular-cookies': ['angular'],
        'ui-bootstrap': ['angular'],
        'blockUI': ['angular'],
        'ng-Storage': ['angular'],
        'angular-sanitize': ['angular'],
        'w5c.validator': ['angular'],
        'angular-city-select': ['angular'],
        'ui.file.manage': ['angular'],
        'ui.select': ['angular'],
        'ui.sortable': ['angular', 'jquery-ui'],
        'bootstrap-datetimepicker-zh': ['jquery', 'bootstrap', 'bootstrap-datetimepicker'],
        'ng-file-upload': ['angular'],
        'angular-kindeditor': ['angular', 'kindeditor.all'],
        'ng-clip': ['angular', 'ZeroClipboard'],
        'bootstrap-colorpicker': ['jquery']
    },
    urlArgs: "v=" + new Date().getTime(),
    // 启动程序 /scripts/admin/app.js
    deps: ['admin/app']
});
require(['ZeroClipboard'], function (ZeroClipboard) {
    window['ZeroClipboard'] = ZeroClipboard;
});